package com.hfxt.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Uses implements Serializable {

    private  Integer userid;
    private String username;
    private String userpwd;
    private String myphoto;

    private  Integer money;
    private Date createTime;

    //private Integer roleid;  外键字段
    private Role role;   //多对一
    private Integer status;
    private String address;

    //查询1角色下的用户有哪些


}
